package factorymethod;

import simplefactory.*;

/**
 * Created by JiaJia on 2019/7/24 0024.
 */
public class Test {
    public static void main(String[] args) {
        VideoFactory videoFactory=new JavaVideoFactory();
        VideoFactory videoFactory2=new PythonVideoFactory();
        VideoFactory videoFactory3=new FEVideoFactory();

        Video video=videoFactory.getVideo();
        video.produce();
    }
}